Class ZfwProcessImpl

All Implemented Interfaces:
IPCObject, Process, ZfwProcess
Direct Known Subclasses:
FirewallProcessImpl

public class ZfwProcessImpl extends ProcessImpl implements ZfwProcess
Information provided by the PKI file:

    \class ZfwProcess
    
    \brief ZfwProcess is the process that handles zone based firewall.
    
    \example network().getDevice("Router0").getProcess("ZfwProcess")
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • getZoneNameCount

      public int getZoneNameCount()
      Information provided by the PKI file:
      
          \brief Returns the number of zones.
          
          \return int, the number of zones.
          
              
      Specified by:
      getZoneNameCount in interface ZfwProcess
      Returns:
      int Returns a int
    • getZoneNameAt

      public Zone getZoneNameAt(int index)
      Information provided by the PKI file:
      
          \brief Returns the zone at specified index.
          
          \param index, the index of the zone of interest.
          
          \return Zone, the Zone object at specified index.
          
              
      Specified by:
      getZoneNameAt in interface ZfwProcess
      Parameters:
      index - Takes in a parameter of index
      Returns:
      Zone Returns a Zone
    • getZonePairCount

      public int getZonePairCount()
      Information provided by the PKI file:
      
          \brief Returns the number of zone pairs.
          
          \return int, the number of zones pairs.
          
              
      Specified by:
      getZonePairCount in interface ZfwProcess
      Returns:
      int Returns a int
    • getZonePairEntryAt

      public ZonePair getZonePairEntryAt(int index)
      Information provided by the PKI file:
      
          \brief Returns the zone pair at specified index.
          
          \param index, the index of the zone pair of interest.
          
          \return ZonePair, the ZonePair object at specified index.
          
              
      Specified by:
      getZonePairEntryAt in interface ZfwProcess
      Parameters:
      index - Takes in a parameter of index
      Returns:
      ZonePair Returns a ZonePair